package com.kb.service;

import com.kb.common.MeException;
import com.kb.entity.CallbackNotification;
import com.kb.entity.ModelApplication;

import java.util.List;

public interface CallbackNotificationService {
    /**
     * 回调接口
     */
    void callbackNotification(List<CallbackNotification> callbackNotificationList) throws MeException;
    /**
     * 批量获取私有库模型信息接口
     */
    void batchGet(String ids,String dataSource) throws MeException;

    /**
     * 模型下载
     */
    void getFile(String id,String type) throws MeException;
    void getFileAndSubscribeId(String subscribeId,String id,String type) throws MeException;
    void downloadFile() throws MeException;

    /**
     * 厂商信息
     */
    void getFactoryInfo() throws MeException;

    boolean scheduleUpdate(List<CallbackNotification> list) throws MeException;
    boolean modelApplication(ModelApplication modelApplication) throws MeException;
}
